package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

/**
 * 
*    
* 项目名称：ArtworkArt   
* 类名称：NewartListParser   
* 类描述：艺术家个人作品图的列表实体类+解析   
* 创建人：耿卫斌   
* 创建时间：2017-1-5 下午3:38:50   
*
 */
public class NewartListParser extends AppItem implements Serializable {
	private static final long serialVersionUID = 1L;
	private String art_id;
	private String artname;
	private String artimag;
	private int imghight;
	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		art_id = obj.optString("art_id");
		artname = obj.optString("artname");
		artimag = obj.optString("artimag");
		imghight = obj.optInt("imghight");
	}
	public String getArt_id() {
		return art_id;
	}
	public void setArt_id(String art_id) {
		this.art_id = art_id;
	}
	public String getArtname() {
		return artname;
	}
	public void setArtname(String artname) {
		this.artname = artname;
	}
	public String getArtimag() {
		return artimag;
	}
	public void setArtimag(String artimag) {
		this.artimag = artimag;
	}
	public int getImghight() {
		return imghight;
	}
	public void setImghight(int imghight) {
		this.imghight = imghight;
	}
	public NewartListParser() {
		super();
	}
	public NewartListParser(String art_id, String artname, String artimag,
							int imghight) {
		super();
		this.art_id = art_id;
		this.artname = artname;
		this.artimag = artimag;
		this.imghight = imghight;
	}
	@Override
	public String toString() {
		return "NewartListParser [art_id=" + art_id + ", artname=" + artname
				+ ", artimag=" + artimag + ", imghight=" + imghight + "]";
	}
}
